import {deleted, get, post, put} from "./client";
/**
 * 前端获取频道数据数据
 * @param  data
 */

export class FrontApi {

	// 前端获取频道数据数据
	static  getChannelList = () => {
		return get(`/front/channel-list`);
	};

	// 前段获取视频的token
	static  getToken = () => {
		return get(`/front/get-token`);
	};
	// 获取轮播图
	static  getPicList = () => {
		return get(`/front/get-pic-list`);
	};


	static  getDicValue = () => {
		return get(`/front/get-dic-value`);
	};


    //获取频道在线人数统计
	static getChannelCount = (channelId) => {
		return get(`/front/count/${channelId}`)
	}
}



